home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 January / PCWorld_2005-01_cd.bin / software / topware / winamp / winamp507_full.exe / $R0 / Winamp Modern / video.m < prev    next >
Text File  |  2004-07-01  |  388b  |  16 lines

  1. #include <lib/std.mi>
  2. #include "attribs.m"
  3.  
  4. Global Button btnVideoReattach;
  5.  
  6. System.onScriptLoaded() {
  7.     initAttribs();
  8.     BtnVideoReattach = getScriptGroup().findObject("button.video.reattach");
  9. }
  10.  
  11. BtnVideoReattach.onLeftClick() {
  12.   Container c = getContainer("main");
  13.   if (c.getLayout("shade").isVisible()) c.switchToLayout("normal");
  14.   video_detach_attrib.setData("0");
  15. }
  16.